package com.demo.dao;

import com.demo.domain.Product;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author LeviCoder
 * @create 2019-07-09 13:51
 */
public interface ProductDao extends JpaRepository<Product,Long> {

    @Override
    public Optional<Product> findById(Long id);
}
